/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package replacer;

import java.awt.HeadlessException;
import java.awt.Menu;
import java.awt.MenuBar;
import java.awt.MenuItem;
import javax.swing.JFrame;

/**
 *
 * @author Miky
 */
public class Frame extends JFrame {

    int widthOfFrame = 800;
    int heightOfFrame = 400;

    public Frame() {
        this.setSize(widthOfFrame, heightOfFrame);
        initComponents();

        
        
        this.setVisible(true);
        this.setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);
    }
    
    private void initComponents(){
        initMenu();
    }
    
    private void initMenu(){
        MenuBar menu = new MenuBar();
        Menu file = new Menu("File");
//        MenuItem file = new MenuItem("File");
        MenuItem about = new MenuItem("About");
        
        menu.add(file);
        
        
        
        
        
    }
    
}
